package cn.jiahua.hospital.pojo;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/***
 *
 */
@Data
public class Doctor implements Serializable {
    //医生号
    private Integer doctorId;
    //密码
    private String password;
    //账号
    private String account;
    //姓名
    private String name;
    //身份证
    private String identity;
    //民族
    private String nation;
    //简介
    private String introduction;
    //照片
    private String pic;
    //医治的疾病Id
    private Integer dieseaseId;
    //手机号码
    private String phone;
    //医生角色
    private Integer roleId;
    //评分
    private String score;
    //预约数
    private Integer subscribeData;
    //医生等级（专家/普通）
    private Integer doctorGrage;
    //性别
    private Integer sex;

    //疾病名称
    private String departmentsName;

    //科室
    private String illnessName;

    //科类
    private List<Departments> departments;


    //get set 方法
    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public Integer getDoctorId() {
        return this.doctorId;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPassword() {
        return this.password;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getAccount() {
        return this.account;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return this.name;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getIdentity() {
        return this.identity;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getNation() {
        return this.nation;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getIntroduction() {
        return this.introduction;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getPic() {
        return this.pic;
    }

    public void setDieseaseId(Integer dieseaseId) {
        this.dieseaseId = dieseaseId;
    }

    public Integer getDieseaseId() {
        return this.dieseaseId;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return this.phone;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getRoleId() {
        return this.roleId;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getScore() {
        return this.score;
    }

    public void setSubscribeData(Integer subscribeData) {
        this.subscribeData = subscribeData;
    }

    public Integer getSubscribeData() {
        return this.subscribeData;
    }

    public void setDoctorGrage(Integer doctorGrage) {
        this.doctorGrage = doctorGrage;
    }

    public Integer getDoctorGrage() {
        return this.doctorGrage;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getSex() {
        return this.sex;
    }


    public Doctor(String password, String account, String name, String identity, String nation, String introduction,
                  String pic, String phone, Integer doctorGrage, int sex) {
        this.password = password;
        this.account = account;
        this.name = name;
        this.identity = identity;
        this.nation = nation;
        this.introduction = introduction;
        this.pic = pic;
        this.doctorGrage = doctorGrage;
        this.sex = sex;
        this.phone = phone;
        //this.dieseaseId=dieseaseId;
    }

    public Doctor(Integer doctorId, String name, String identity, String nation, String introduction,
                  String pic, String phone, Integer dieseaseId, Integer doctorGrage, int sex) {
        this.doctorId = doctorId;
        this.name = name;
        this.identity = identity;
        this.nation = nation;
        this.introduction = introduction;
        this.pic = pic;
        this.doctorGrage = doctorGrage;
        this.sex = sex;
        this.phone = phone;
        this.dieseaseId = dieseaseId;
    }


    public Doctor() {
    }


    public Doctor(Integer doctorId, String name, String introduction, String phone, String pic) {
        this.doctorId = doctorId;
        this.name = name;
        this.introduction = introduction;
        this.pic = pic;
        this.phone = phone;
    }


}
